package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallGoodsAssociateDao;
import com.appkubes.mall.core.entity.MallGoodsAssociate;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallGoodsAssociateService extends AbstractBaseService<BaseMallGoodsAssociateDao, MallGoodsAssociate> {

    MallGoodsAssociate getOneByEntity(MallGoodsAssociate entity);

    List<MallGoodsAssociate> selectListByEntity(MallGoodsAssociate entity);

    IPage<MallGoodsAssociate> selectPageByEntity(IPage<MallGoodsAssociate> page);
    IPage<MallGoodsAssociate> selectPageByEntity(PageVO pageVO);

    IPage<MallGoodsAssociate> selectPageByEntity(MallGoodsAssociate entity, IPage<MallGoodsAssociate> page);
    IPage<MallGoodsAssociate> selectPageByEntity(MallGoodsAssociate entity, PageVO pageVO);

    IPage<MallGoodsAssociate> selectPageByEntity(MallGoodsAssociate entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallGoodsAssociate entity);
}
